package main

import "fmt"

func main() {
	fmt.Println("杨旭你好帅/d")
	fmt.Println("hello yanxgu")
	//格式化进行打印
	fmt.Printf("yangxu is a %s boy age %d", "handsome", 18)
	fmt.Println("马宏", "很帅")

	//格式化的值赋值给一个变量
	sprintf := fmt.Sprintf("name：%s,profile:%s，age:%d", "hekang", "handsome", 18)
	fmt.Println(sprintf)
}
